package com.common.constants.code;

/**
 * 接口请求参数校验结果状态类型
 * 
 * @auth zoro
 *
 * @time 2015年4月30日 下午1:40:50
 */
public class ParamResultCode{
	
	private final static int TYPE = 2;

	/**
	 * 无效IP
	 */
	public static final ResultCode ERROR_IP_INVALID = new ResultCode("PR000011", "ERROR_IP_INVALID", "无效IP！", TYPE);

	/**
	 * ID值无效
	 */
	public static final ResultCode ERROR_ID_VALUEINVALID = new ResultCode("PR000012", "ERROR_ID_VALUEINVALID", "ID值无效", TYPE);

	/**
	 * 用户ID不能为空
	 */
	public static final ResultCode ERROR_USER_ID_CANNOT_EMPTY = new ResultCode("PR000013", "ERROR_USER_ID_CANNOT_EMPTY", "用户ID不能为空", TYPE);

	/**
	 * 用户ID无效
	 */
	public static final ResultCode ERROR_USER_ID_INVALID = new ResultCode("PR000014", "ERROR_USER_ID_INVALID", "用户ID无效", TYPE);

	/**
	 * 短信验证码不匹配
	 */
	public static final ResultCode ERROR_MOBILE_CODE_NOT_MATCH
			= new ResultCode("PR000015", "ERROR_MOBILE_CODE_NOT_MATCH", "短信验证码不匹配", TYPE);

}
